package demo01;

public class SonLikeDo implements MonLikeDo, DadLikeDo{
    @Override
    public void ride() {
        System.out.println("喜欢骑行");
    }

    @Override
    public void basketball() {
        System.out.println("喜欢打篮球");

    }

    @Override
    public void sing() {
        System.out.println("喜欢唱歌");
    }

    @Override
    public void dance() {
        System.out.println("喜欢跳舞");
    }

    public static void main(String[] args) {
        Son son1 = new Son();
        son1.basketball();
        son1.dance();
        son1.ride();
        son1.sing();

    }

}
